package sanrenxing.dayEnd.backRepertoryTotal.service;


import sanrenxing.dayEnd.backRepertoryTotal.domain.Role;
import sanrenxing.dayEnd.backRepertoryTotal.domain.users;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface userbiz {
    public int add(users us);
    public int del(int us);
    public int update(users us);
    public int updates(String us);
    public List<users> all(String xx, int limit, int page);
    public int count(String xx);
    public users one(users us);
    public String xx(users us);
    public int dels(int us);
    public List<Role> rfal();
    public int updatePassword(String newPassword, String oldPassword, HttpServletRequest request);
    public void resetPwd(String userId);
}
